package com.example.orderassembly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.entity.StorePurchaseDetailOrder;
import com.woniuxy.entity.StorePurchaseOrder;
import com.woniuxy.form.GetAfterSaleByPlatform;
import com.woniuxy.form.GetOrder;
import com.woniuxy.form.InsertStorePurchaseOrder;

/**
 * <p>
 * 店铺进货订单表 服务类
 * </p>
 *
 * @author yang
 * @since 2021-09-21
 */
public interface IStorePurchaseOrderService extends IService<StorePurchaseOrder> {

    Boolean insertStorePurchaseOrder(InsertStorePurchaseOrder insertStorePurchaseOrder);

    IPage<StorePurchaseOrder> getStorePurchaseOrderByStoreId(GetAfterSaleByPlatform getAfterSaleByPlatform);

    IPage<StorePurchaseOrder> getStorePurchaseOrderByPlatform(GetAfterSaleByPlatform getAfterSaleByPlatform);

    Boolean updateStorePurchaseOrderByPlatform(Integer storePurchaseOrderId, Integer status);

    StorePurchaseOrder getStorePurchaseOrderById(Integer id);
}
